package cn.flying.system.mapper.cm;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import cn.flying.system.domain.cm.CmUser;
import cn.flying.system.domain.cm.CmUserExample;

public interface CmUserMapper {
    long countByExample(CmUserExample example);

    int deleteByExample(CmUserExample example);

    int deleteByPrimaryKey(Long id);

    int insert(CmUser row);

    int insertSelective(CmUser row);

    List<CmUser> selectByExampleWithRowbounds(CmUserExample example, RowBounds rowBounds);

    List<CmUser> selectByExample(CmUserExample example);

    CmUser selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("row") CmUser row, @Param("example") CmUserExample example);

    int updateByExample(@Param("row") CmUser row, @Param("example") CmUserExample example);

    int updateByPrimaryKeySelective(CmUser row);

    int updateByPrimaryKey(CmUser row);
}